import 'package:flutter/material.dart';

class BmPlace extends StatefulWidget {
  @override
  State<BmPlace> createState() => _BmPlaceState();
}

class _BmPlaceState extends State<BmPlace> {
  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Container(
            padding: EdgeInsets.symmetric(horizontal: 12, vertical: 18),
            child: Column(
              children: [
                Container(
                  padding: EdgeInsets.only(bottom: 15),
                  decoration: BoxDecoration(
                      border: Border(
                          bottom:
                              BorderSide(color: Color.fromRGBO(238, 238, 238, 1)))),
                  child: Row(
                    children: [
                      Container(
                        margin: EdgeInsets.only(right: 15),
                        child: Text(
                          '报名时间',
                          style: TextStyle(color: Color.fromRGBO(102, 102, 102, 1)),
                        ),
                      ),
                      Expanded(
                        child: Container(
                          child: Text('2020-11-02 13:40 至 2020-11-26 00:00'),
                        ),
                      )
                    ],
                  ),
                ),
                Container(
                  padding: EdgeInsets.only(bottom: 15, top: 15),
                  decoration: BoxDecoration(
                      border: Border(
                          bottom:
                              BorderSide(color: Color.fromRGBO(238, 238, 238, 1)))),
                  child: Row(
                    children: [
                      Container(
                        margin: EdgeInsets.only(right: 15),
                        child: Text(
                          '比赛时间',
                          style: TextStyle(color: Color.fromRGBO(102, 102, 102, 1)),
                        ),
                      ),
                      Expanded(
                        child: Container(
                          child: Text('2020-11-02 13:40 至 2020-11-26 00:00'),
                        ),
                      )
                    ],
                  ),
                ),
                Container(
                  padding: EdgeInsets.only( top: 15),

                  child: Row(
                    children: [
                      Container(
                        margin: EdgeInsets.only(right: 15),
                        child: Text(
                          '比赛地址',
                          style: TextStyle(color: Color.fromRGBO(102, 102, 102, 1)),
                        ),
                      ),
                      Expanded(
                        child: Row(
                          mainAxisAlignment: MainAxisAlignment.spaceBetween,
                          children: [
                            Container(
                              child: Text('安徽省合肥市大蜀山'),
                            ),
                            Container(
                              child: Icon(
                                Icons.place_outlined,
                                color: Color.fromRGBO(136, 136, 136, 1),
                                size: 15,
                              ),
                            )
                          ],
                        ),
                      )
                    ],
                  ),
                ),
              ],
            )),
        Container(
          height: 8,
          color: Color.fromRGBO(249, 249, 249, 1),
        ),
      ],
    );
  }
}
